#! /usr/bin/env python
# -*- coding: utf-8

import rospy
from plumbing_pub_sub.msg import Person
def doPerson(p):
    rospy.loginfo("我订阅的数据：%s, %d, %f",p.name,p.edge,p.height)
   

if __name__=="__main__":
    rospy.init_node("fuMu")
    sub = rospy.Subscriber("liaoTian",Person,doPerson,queue_size=10)

    rospy.spin()